﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.EnterpriseLibrary.ExceptionHandling;
using Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Configuration;
using Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder;
using Microsoft.Practices.EnterpriseLibrary.Common.Configuration;
using Microsoft.Practices.ObjectBuilder2;

namespace CNdotnet.Ezsocio.Core.ExceptionHandling
{
    public class DataAccessHandlerAssembler : IAssembler<IExceptionHandler, ExceptionHandlerData>
    {
        public IExceptionHandler Assemble(IBuilderContext context, 
            ExceptionHandlerData objectConfiguration, 
            IConfigurationSource configurationSource, 
            ConfigurationReflectionCache reflectionCache)
        {
            return new DataAccessHandler();
        }
    }
}
